<%@friends = @user.friends.paginate(:page => params[:page],:per_page => 1,:order => "created_at DESC")%>                    
<div class="midbar_box">
	<h3 class="title">全部好友</h3>
		<div class="allfriends">
	    	<ul>
	            <%= render :partial =>"more_friend", :collection => @friends %>                    
			</ul>
		</div>
		<%= will_paginate @friends%>
</div>